import request from '@/utils/request'

export const clickChannelsAPI = () => {
  return request({
    url: '/v1_0/user/channels'
  })
}

export const allChannelsAPI = () => {
  return request({
    url: '/v1_0/channels'
  })
}

export const saveChannelsAPI = data => {
  return request({
    url: '/v1_0/user/channels',
    method: 'put',
    data
  })
}
